'Declaration
Public Overloads Function Add(Of T As {New, Chart})( _ ByVal topLeftRowId As Integer, _ ByVal topLeftColumnId As Integer, _ ByVal bottomRightRowId As Integer, _ ByVal bottomRightColumnId As Integer _ ) As T
'Usage
Dim instance As ChartCollection Dim topLeftRowId As Integer Dim topLeftColumnId As Integer Dim bottomRightRowId As Integer Dim bottomRightColumnId As Integer Dim value As T value = instance.Add(Of T)(topLeftRowId, topLeftColumnId, bottomRightRowId, bottomRightColumnId)
public T Add<T>( int topLeftRowId, int topLeftColumnId, int bottomRightRowId, int bottomRightColumnId ) where T: new(), Chart
Parameters
- topLeftRowId
- The Id of the Row associated with the top left corner of the new Chart.
- topLeftColumnId
- The Id of the Column associated with the top left corner of the new Chart.
- bottomRightRowId
- The Id of the Row associated with the bottom right corner of the new Chart.
- bottomRightColumnId
- The Id of the Column associated with the bottom right corner of the new Chart.
Type Parameters
- T
- The type of Chart that will be added to the ChartCollection.
Return Value
The Chart that has been added to the ChartCollection.